package com.lmh.backend.dao;

import com.lmh.backend.entity.News;

import java.util.List;

public interface NewsDao {
    public List<News> getAllNews();
    public List<News> getWaitCheckNews();
    public News getNewsById(Long newsId);
    public void passNews(Long newsId);
    public void delNews(Long newsId);
    public void editNews(Long newsId, String new_title, String new_content);
    public void save(News news);
}
